@extends('host.custom.common.common')

@section('body')
        <!-- top_test -->
<div id="top_test"></div>

<!-- web_logo_search -->
<div id="web_logo_search"></div>

<!-- comm_nav -->
<div id="comm_nav"></div>

<div class="com-w mt20">
    <div class="wrapper clearfix">
        <div id="commleftmenu" class="w220 mr20 comm-left-menu">
            <div class="menu-top-title">采购商中心</div>
            <div id="leftmenuitems"></div>
        </div>
        <div class="w960 comm-main">
            <div class="main-release clearfix">
                <div class="main-release-nav">
                    您当前的位置：
                    <a href="javascript:void(0)">首页</a>
                    >
                    <a href="javascript:void(0)">采购商中心</a>
                    > 发票管理
                </div>
                <div class="main-release-title">
                    <span class="icons"></span>
                    <span class="release-title-h3 f16">发票管理</span>
                </div>
                <div class="main-release-from">
                    <div class="invoice-tip ml40 mt20 mb30">
                        <div class="c-yer lh32">温馨提示：</div>
                        <div class="c-yer lh32">1：每个账号有效增值税发票开票资质仅为一个</div>
                        <div class="c-yer lh32">2：需要开增值税发票的用户请到“采购商中心”-“我的账户”-  “个人资料”里添加相关电子文档</div>
                        <div class="c-yer lh32">3：发票常见问题请查看发票制度说明</div>
                    </div>
                    <div class="invoice-main clearfix">
                        <div class="invoice-frist clearfix fl ml20 bdd invoice-frist1">
                            <div class="head">
                                <div class="f14 c-333 lh40 ml5 fl">您的普通发票信息</div>
                                <div class="c-yer fl ml10 mt5">
                                    <span class="btn btn-important btn-w70x32 add-ordinary-btn" id="add">添加</span>
                                </div>
                            </div>
                            <div class="invoice-frist-main" id="commTabs_1_body">

                            </div>

                        </div>

                        <div class="invoice-frist clearfix fl ml20" style="display: none" id="invoice-frist1">
                            <div class="head">
                                <div class="f14 c-333 lh40 ml5">普通发票</div>
                            </div>
                            <div class="invoice-frist-main mt35 mb30">
                                <div class="clearfix">
                                    <div class="invoice-f-l lh32 c-999 wb40 tr fl">单位名称：</div>
                                    <div class="invoice-f-r wb60">
                                        <input type="text" id="tname"></div>
                                </div>
                                <div class="invoice-f-btn mt25">
                                    <span class="btn btn-important btn-w70x32 mr20 update-btn update-btn1" id="editsub">保存</span>
                                    <span class="btn btn-default btn-w70x32 update-btn1">取消</span>
                                </div>

                            </div>

                        </div>
                        <div class="invoice-two mt35 clearfix fl ml20">
                            <div class="head">
                                <div class="f14 c-333 lh40 ml5 fl">您的增票资质</div>
                            </div>
                            <div class="invoice-two-main" >
                                <form id="form" action="" method="post">
                                    <div class="clearfix">
                                        <div class="invoice-two-title">
                                            <div class="invoice-two-l1 wb20 tr fl lh32 f14 c-999">增值票资质信息：</div>
                                            <div class="invoice-two-r1 c-yer wb70 tl fl lh32">(所有信息为必填)</div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">单位名称：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="companyname" name="companyname">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">纳税人识别码：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="idcode" name="idcode">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">注册地址：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="regaddr" name="regaddr">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">注册电话：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="regtel" name="regtel">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">开户银行：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="bank" name="bank">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">银行账户：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="bankacct" name="bankacct">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="clearfix">
                                        <div class="invoice-two-title">
                                            <div class="invoice-two-l1 wb20 tr fl lh32 f14 c-999">收票人地址：</div>
                                            <div class="invoice-two-r1 c-yer wb70 tl fl lh32"></div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">收票人姓名：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="name" name="name">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">收票人手机：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" id="tel" name="tel">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999">收票人省份：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <select id="province" name="province" style="width:150px">
                                                    <option value="">请选择</option>
                                                </select>
                                                <select id="city" name="city" style="width:150px">
                                                    <option value="">请选择</option>
                                                </select>
                                                <select id="country" name="country" style="width:150px">
                                                    <option value="">请选择</option>
                                                </select>
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="invoice-two-title mt15 clearfix">
                                            <div class="invoice-two-l1 wb25 tr fl lh32 f14 c-999" >详细地址：</div>
                                            <div class="invoice-two-r1 wb60 tl fl lh32 c-666 f14">
                                                <input type="text" style="width: 350px;" id="addr" name="addr">
                                                <span class="b002 ml5">*</span>
                                            </div>
                                        </div>
                                        <div class="mt35 tc fl mb20 " style="width: 66%">
                                            <span class="btn btn-important btn-w70x32 " id="savesub">提交</span>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- foot_nav -->
<div id="foot_nav"></div>

<div id="bottom_main"></div>
<!-- 确认框 -->
<script type="text/template" id="item-confirm">
    <div class="dialog-div">
        <div style="color:red;">确认删除此条数据?</div>
        <div class="price-game-btn">
            <span class="btn btn-gray btn-w140x40 remove">取消</span>
            <span class="btn btn-warn btn-w140x40" id="tj">确定</span>
        </div>
    </div>
</script>
<script type="text/template" id="item-template">
    <%_.each(obj, function(item){%>
    <ul class="clearfix" data-id="<%=item.id %>">
        <li class="wb30 c-yer" id="tick<%=item.id %>"><%=item.tickname %></li>
        <li class="wb30 c-999"><%=item.type %></li>
        <li class="wb40">
            <div class="mt20">
                <span class="btn btn-warn btn-w70x32 add-ordinary-btn">编辑</span>
                <span class="btn btn-important btn-w70x32 sel-edit-del">删除</span>
            </div>
        </li>
    </ul>
    <%});%></script>
<!-- 省市区 -->
<script type="text/template" id="area-option-templ">
        <option value="">请选择</option>
        <% _.each(obj, function(item){%>
        <option value="<%=item.code %>"><%=item.text %></option>
<% }); %>
</script>
<script src="/assets/b2b/js/libs/jquery.validate.min.js"></script>
<script src="/assets/b2b/js/libs/messages_zh.js"></script>
<script type="text/javascript" src="/assets/b2b/js/libs/dialog-min.js"></script>
<script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
<script src="/assets/b2b/js/pageModules/buyer/B12.js"></script>
@stop